package com.oneonefive.trainticketsystem.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value ="sale")
@JsonIgnoreProperties(value = "handler")
public class Sale {
    @TableId
    private Integer saleId;
    private Ticket ticket;
    private Timestamp saleTime;
    private User user;

}
